for i in range(1,101):
    if not i%7:
        print(i,end=' ')